package cn.geekyspace.scanhive;

import javafx.application.Application;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;

@EnableScheduling
@SpringBootApplication
@MapperScan("cn.geekyspace.scanhive.mapper")
public class ScanHiveApplication {

    public static void main(String[] args) {
        System.setProperty("prism.allowhidpi", "false");    // 禁用高DPI缩放，-Dprism.allowhidpi=false
        System.setProperty("glass.win.minHiDPI", "1.0");    // 兼容jdk8

        // 启动 JavaFX 应用程序
        Application.launch(ScanHiveJavaFXApplication.class, args);
    }

}
